﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Info.Master" AutoEventWireup="true" CodeBehind="Info.aspx.cs" Inherits="BBPA.Admin.Sys.Orders_Goods.Info" %>

<%@ MasterType VirtualPath="~/Info.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        .infoTable, .minWidth { min-width: 400px; }
            .infoTable td { white-space:nowrap;}

        .SellWay { position:absolute;margin-top:20px;}
        .text-right { position:relative;}
        .text-right .SellWay {right:10px; }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_main" runat="server">

    <%=modelV_Orders_Goods.Description %>
    <table class="infoTable haveBorder">
        <tr id="tr_Price" runat="server">
            <th></th>
            <th colspan="3" id="th_Sell" runat="server">孕婴店购买</th>
            <th colspan="3" id="th_Buy">联盟采购</th>
            <th></th>
        </tr>
        <tr><th></th>
            <th id="th_SellAccount" runat="server">数量</th><th id="th_SellPrice" runat="server">单价</th><th id="th_SellPriceSum" runat="server">小计</th>
            <th id="th_BuyAccount" runat="server">数量</th><th id="th_BuyPrice" runat="server">单价</th><th id="th_BuyPriceSum" runat="server">小计</th>
            <th id="th_Pay" runat="server">现金支付</th>
        </tr>
        <tr style="height:70px">
            <td >预定</td>
            <td class="center nowrap">
                <asp:Label ID="lb_ExpectGiftNumber" runat="server" CssClass="label label-info SellWay"></asp:Label>
                <%=modelV_Orders_Goods.ExpectAmount %>
            </td>
            <td class="center" id="td_ExpectPrice" runat="server">
                <asp:Label ID="lb_ExpectSellPrice" runat="server"></asp:Label>
            </td>
            <td class="center nowrap" id="td_ExpectPriceSum" runat="server">
                <asp:Label ID="lb_ExpectDiscount" runat="server" CssClass="label label-info SellWay"></asp:Label>
                <asp:Label ID="lb_ExpectSellPriceSum" runat="server"></asp:Label>
            </td>

            <td class="center nowrap">
                <asp:Label ID="lb_ExpectBuyGiftNumber" runat="server" CssClass="label label-info SellWay"></asp:Label>
                <%=modelV_Orders_Goods.ExpectAmount %>
            </td>
            <td class="center" id="td_ExpectBuyPrice" runat="server">
                <asp:Label ID="lb_ExpectBuyPrice" runat="server"></asp:Label>
            </td>
            <td class="center  nowrap" id="td_ExpectBuyPriceSum" runat="server">
                <asp:Label ID="lb_ExpectBuyDiscount" runat="server" CssClass="label label-info SellWay"></asp:Label>
                <asp:Label ID="lb_ExpectBuyPriceSum" runat="server"></asp:Label>
            </td>
            
            <td class="center" id="td_ExpectPay" runat="server">
                <asp:Label ID="lb_ExpectPay" runat="server"></asp:Label>
            </td>
        </tr>
        <tr class="<%=noFinish?"hide":"" %>" style="height:70px">
            <td >实际</td>
            <td class="center nowrap">
                <%=modelV_Orders_Goods.ActualAmount %>
                <span class="label label-info SellWay <%=modelV_Orders_Goods.ActualGiftNumber==0?"hide":"" %>">赠<%=modelV_Orders_Goods.ActualGiftNumber %></span>
            </td>
            <td class="center" id="td_ActualPrice" runat="server">
                <%=StringPlus.showMoney_empty(modelV_Orders_Goods.ActualPrice) %>
            </td>
            <td class="center" id="td_ActualPriceSum" runat="server">
                <span class="label label-info SellWay <%=modelV_Orders_Goods.ActualDiscount==100?"hide":"" %>"><%=Convert.ToDecimal( modelV_Orders_Goods.ActualDiscount )/10%>折</span>
                <%=StringPlus.showMoney_empty(modelV_Orders_Goods.ActualPriceSum) %>
            </td>

            <td  class="nowrap">
                <span class="label label-info SellWay <%=modelV_Orders_Goods.ActualBuyGiftNumber==0?"hide":"" %>">赠<%= modelV_Orders_Goods.ActualBuyGiftNumber %></span>
                <%=modelV_Orders_Goods.ActualAmount %>

            </td>
            <td class="center nowrap" id="td_ActualBuyPrice" runat="server">
                <%=StringPlus.showMoney_empty(modelV_Orders_Goods.ActualBuyPrice) %>
            </td>
            <td class="center nowrap" id="td_ActualBuyPriceSum" runat="server">
                <span class="label label-info SellWay <%=modelV_Orders_Goods.ActualBuyDiscount==100?"hide":"" %>"><%=Convert.ToDecimal( modelV_Orders_Goods.ActualBuyDiscount)/10 %>折</span>
                <%=StringPlus.showMoney_empty(modelV_Orders_Goods.ActualBuyPriceSum) %>
            </td>

            <td class="center" id="td_ActualPay" runat="server">
                <%=StringPlus.showMoney_empty(modelV_Orders_Goods.ActualPay) %>
            </td>
        </tr>
    </table>
    
</asp:Content>


